<div class="prolist">
  <div class="left">
   
    <%=render :partial=>"pronav",:object=>@product.procate_id %>
    <%= render :partial=>"hot_click_pros" %>
  </div>

  <div class="right">
    <div class="content">
      <h3 class="protitle"><%=@product.name %></h3>
      <div class="sub_left">
        <div class="bigimg">
          <%=link_to image_tag("/images/proimages/"+(@product.main_image && @product.main_image.name ? @product.main_image.name : "noimage.png")),list_product_pro_images_path(@product) %>
        </div>
        <div class="pro_imgs">
          <% for img in @product.pro_images -%>
            <%=link_to image_tag("/images/proimages/#{img.name.sub(".","_s.")}"),"/images/proimages/#{img.name}",:title=>@product.name %>
          <% end -%>
           
        </div>
        <div class="center">
          <br/>
          <img src="/images/zoom.gif" align="absbottom" style="border:none"/>&nbsp;<a href="<%=list_product_pro_images_path(@product)%>">点击查看大图</a>
           
        </div>
      </div>
      <div class="sub_right">

        <p>关键词：<%=h @product.short_description %></p>
        <p>市场价格：<s><%=number_to_currency(@product.price,:unit=>"元",:format=>"%n%u") %></s></p>
        <p>
          本站价格：<b class="redcolor size14"><%=number_to_currency @product.now_price,:unit=>"元",:format=>"%n%u" %></b>
        </p>
        <p>
          点击次数：<%=@product.click_count %>次
        </p>
        <%= "<p class='msg'><span class='tips'>该产品为团购产品，团体选购更多优惠，#{link_to '点击报名',new_on_line_baoming_path(@product.tuangou_pro)}</span></p>" if @product.tuangou_pro %>

      
        <p class="msg"><span class="notice">购买之前，可电话或直接在线咨询。<%= link_to "<b class='redcolor'>发表咨询</b>",product_pro_reviews_path(params[:id])%></span></p>
          <p><%= add_product_link "加入购物车",@product,"long-btn" %>
            </p>
      </div>
    </div>
    <%= render :partial=>"dis_pro_value",:object=>@product %>

    <div class="pro_reviews">
      <div class="box box-h14"> <span class="top_bg"><span></span></span>
        <div class="head"><h3>购买咨询</h3></div>
        <div id="pro_reviews" class="con clearfix">

        </div>
        <div class="rc">
          <ul class="rl">
            <li class="mo"><a href="<%=product_pro_reviews_path(params[:id])%>">更多</a></li>
          </ul>
        </div>
        <span class="bot_bg">
          <span></span>
        </span>
      </div>
    </div>
    <p class="center">购买之前，如有问题，请电话或直接在线咨询。<%= link_to "<b class='redcolor'>发表咨询</b>",product_pro_reviews_path(params[:id])%></p>
  </div>
</div>
<%=render :partial=>"sub_menu",:object=>2 %>

<script type="text/javascript">
  $(document).ready(function(){
    $("#pro_reviews").load("<%=product_pro_reviews_path(params[:id])%>");
  });
</script>